package com.goal.plugin;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;

public class MyAction extends AnAction {
    @Override
    public void actionPerformed(AnActionEvent actionEvent) {
        Project project = actionEvent.getData(PlatformDataKeys.PROJECT);
        Messages.showMessageDialog(project, "classPath", "Hello from My Plugin!",
                Messages.getInformationIcon());

    }
}